from splinter.browser import Browser
browser=Browser(driver_name='chrome',executable_path='C:/Users/f/AppData/Local/Programs/Python/Python36/chromedriver')
browser.visit('http://www.baidu.com')
browser.fill('wd','新年')
button=browser.find_by_xpath('//input[@type="submit"]').click()
print(browser.html)
if browser.is_text_present('新年'):
    print("yes")
else:
    print("no")
browser.quit()
